.brand-name {
  font-weight: bold;
  color: #162430 ; 
  font-size: 24px;
  line-height: 50px;
  vertical-align: middle;
}

.navbar-brand {
    display: flex;
    align-items: center;
  }
  
  .navbar-brand img {
    margin-right: 10px;
  }

.navbar-nav .nav-link {
  font-size: 18px; /* Ukuran teks di menu */
}

.navbar-brand img {
  margin-right: 10px; /* Spasi antara logo dan teks */
}

.navbar-nav .nav-link.active {
    background-color:#3499D5    ; /* Biru */
    color: white;
    border-radius: 5px;
    padding: 8px 16px;
  }
  
  .navbar-nav .nav-link {
    color: #162430    ; /* Warna link default */
  }
  
  .navbar-nav .nav-link:hover {
    color:#162430;    /* Warna link saat hover */
    background-color:#60baee ;
    border-radius: 5px;
  }
  
  .navbar-nav .nav-item {
    margin-left: 15px; /* Jarak antara menu di sebelah kiri */
  }
  #carousel {
    position: relative;
  }


/* cover image*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

.cover-container {
  position: relative;
  width: 100%;
  height: 70vh; /* Reduced height to 70% of the viewport height */
  overflow: hidden;
  margin-bottom: 50px;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the entire area */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-top: 5px solid #1f5a7d ; /* Kasih bingkai di bagian atas aja */
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2); /* Bayangan di bawah bingkai atas */
 
}

.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 2;
  display: flex;
  justify-content: flex-start; /* Aligns content to the left */
  align-items: center; /* Centers content vertically */
  padding-left: 30px; /* Adds space from the left edge */
}

.cover-content {
  color: #fff;
  z-index: 3;
  text-align: left; /* Ensures text is aligned to the left */
}

.cover-content h1 {
  font-size: 3rem;
  margin-bottom: 10px; /* Space between title and subtitle */
  z-index: 3;
  text-align: left; /* Ensures text is aligned to the left */
  color: #fff;
}

.cover-content p {
  font-size: 1.5rem;
  line-height: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cover-container {
      height: 50vh; /* Smaller height for smaller screens */
  }

  .cover-content h1 {
      font-size: 2rem;
  }

  .cover-content p {
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cover-container {
      height: 40vh; /* Even smaller height for very small screens */
  }

  .cover-content h1 {
      font-size: 1.5rem;
  }

  .cover-content p {
      font-size: 0.875rem;
  }

  .cover-overlay {
      padding-left: 15px; /* Reduced padding for small screens */
  }
}

  /* maintenance*/
 .container h1 {
    text-align: center; /* Menjadikan teks rata tengah */
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    max-width: 400px;
    margin: 20px auto;
    padding: 10px;
    background-color: #ffffff ;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #3499D5 , #ddd);
}

.main-image {
  display: block;
  margin: 20px auto;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}


.dropdown-btn {
    display: block;
    width: auto;
    margin: auto;
    padding: 10px;
    background-color: #3686ac;
    margin-bottom: 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.dropdown-btn:hover {
    background-color: #364b58;
}

.section {
    margin-top: 30px;
}

h2 {
    color: #3686ac;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
}

.competency-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.competency-table th, .competency-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.competency-table th {
    background-color: #3686ac;
    color: white;
}

.competency-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.requirements-list {
    list-style-type: disc;
    padding-left: 20px;
}

p {
    margin: 15px 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .competency-table th, .competency-table td {
        padding: 8px;
    }
}


  /*footer*/

.footer {
  background-color: #000; /* Warna hitam */
  color: #fff; /* Teks putih */
}

.footer-logo img {
  max-width: 150px; /* Ukuran maksimal logo footer */
}

.footer a {
  color: #fff; /* Warna link putih */
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}